import Router from "koa-router";
import {
  createSlideWindowRateLimiter,
  SlideWindowInterval,
} from "../../middleware/rateLimiter";
import { mgetCache } from "../../proxy/redisProxy"
const router = new Router();

router.get(
  "/_cmd/print/config",
  createSlideWindowRateLimiter(5, {
    interval: SlideWindowInterval.SEC,
    rangeSize: 10,
  }),
  async (ctx, next) => {
    ctx.body = "print config for view";
  }
);


export default router;
